package cn.edu.swu.jjy;

public class Student {
    private String id;
    private String name;

    public Student() {
    }

    public Student(String id, String name) {
        this.setId(id);
        this.setName(name);
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public String toString() {
        return String.format("%s, %s", this.getId(), this.getName());
    }
}
